﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TacticalGridWarsMapEdit
{
    /// <summary>
    /// Form that handles input for filenames when saving/loading
    /// </summary>
    public partial class FormNameMap : Form
    {
        public string LevelName 
        {
            get { return textBoxName.Text; }
        }

        public FormNameMap()
        {
            InitializeComponent();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
        }

        private void buttonCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
        }
    }
}
